<nav>
      <?php include_partial('menu');?>     
</nav>
<article>
    <h1>RESUMEN TOTAL</h1>
<table class="table">
  <tbody>        
    <tr>
      <th>Nombre:</th>
      <td><?php echo $beca->getNombre() ?></td>
    </tr>
    <tr>
      <th>Logo:</th>
      <td><img id="img_logo" src="/uploads/logos/<?php echo $beca->getLogo() ?>" alt="<?php echo $beca->getId() ?> logo"/></td>      
    </tr>
    <tr>
      <th>Descripcion:</th>
      <td><p id="info"><?php echo $beca->getDescripcion() ?></p></td>
    </tr>
    <tr>
      <th>Dirigido a:</th>
      <td><?php echo $beca->getDirigidoA() ?></td>
    </tr>
    <tr>
      <th>Requisitos:</th>
      <td><p id="info"><?php echo $beca->getRequisitos() ?></p></td>
    </tr>
    <tr>
      <th>Plazo:</th>
      <td><?php echo $beca->getPlazo() ?></td>
    </tr>
    <tr>
      <th>Fecha inicio:</th>
      <td><?php echo $beca->getFechaInicio() ?></td>
    </tr>
    <tr>
      <th>Fecha fin:</th>
      <td><?php echo $beca->getFechaFin() ?></td>
    </tr>
    <tr>
      <th>Universidad que ofrece la beca:</th>
      <td><?php echo $beca->getUniversidad()->getNombre() ?></td>      
      <td>
          <form action="<?php echo url_for('becas/edit?id='.$beca->getId()) ?>" method="post">      
      <input type="submit" value="Editar" />      
      </form>
      </td>
    </tr>
  </tbody>
  <tfoot>
      <tr>
          <td colspan="3"></td>
      </tr>
  </tfoot>
</table>



<table>
  <tbody>         
    <?php foreach($beca->getAtributosAdicionalesBeca() as $atributo):?>    
    <tr>      
      <th><?php echo $atributo->getAtributoId();?></th>    
      <td><p id="info"><?php echo $atributo->getAtributoValor();?></p></td>      
      <td>
        <form action="<?php echo url_for('atributos/edit?beca_id='.$atributo->getBecaId().'&atributo_id='.$atributo->getAtributoId())?>" method="post" />      
        <input type="submit" value="Editar"/>      
        </form>
      </td>
    </tr>    
    <?php endforeach;?>
  </tbody>
  <tfoot>      
  </tfoot>
</table>    
</article>